package mvc.control
{
	import com.adobe.cairngorm.control.CairngormEvent;

	import orm.fantasy.TblCharacterVO;
	import orm.fantasy.TblItemPropertyVO;
	import orm.fantasy.TblItemVO;

	import view.design.DesignSlot;

	public class ArmoryEvent extends CairngormEvent
	{
		public function ArmoryEvent(type:String,
			tblCharacterVO:TblCharacterVO = null, dsnSlot:DesignSlot = null,
			bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);

			_tblCharacterVO = tblCharacterVO;
			_dsnSlot = dsnSlot;
		}
		public static var SEARCH_OPTIONAL_ITEM:String = "search_optional_item";
		public static var EQUIP_ALL_SLOTS:String = "equip_all_slots";
		public static var EQUIP_ONE_SLOT:String = "equip_one_slot";
		public static var SHOW_ARMORY_TIP:String = "show_armory_tip";
		public static var HIDE_ARMORY_TIP:String = "hide_armory_tip";

		private var _dsnSlot:DesignSlot;

		public function get dsnSlot():DesignSlot
		{
			return _dsnSlot;
		}
		private var _tblCharacterVO:TblCharacterVO;

		public function get tblCharacterVO():TblCharacterVO
		{
			return _tblCharacterVO;
		}
	}
}